package com.wwj.auction.login.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "ShopImage对象", description = "商品图片表")
public class ShopImage implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "编号")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "商品图片类型")
    private String shopImageType;

    @ApiModelProperty(value = "商品图片路径")
    private String shopImageUrl;

    @ApiModelProperty(value = "图片所属的商品id")
    private String shopId;
}
